import { createApp } from 'vue'
import router from "./router";
import App from './App.vue'

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
import 'normalize.css'

import store from './store';
import lodash from 'lodash';
import dayjs from 'dayjs';
import big from 'big.js';
import message from '@/utils/notification'
import '@/styles/public.scss';

import * as ElementPlusIconsVue from '@element-plus/icons-vue'

const app = createApp(App);

for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}
app.provide("message", message)

app.use(ElementPlus, { zIndex: 3000, locale: zhCn})
app.use(router);
app.use(store);


app.mount("#app");